define(['jquery'], () => {
    class Footer {
        constructor() {
            this.loadHtml()
        }
        loadHtml() {
            return new Promise(resolve => {
                $('footer').load('/html/modules/footer.html', () => {
                    resolve()
                })
            })
        }
    }
    return new Footer()
})